﻿Pui.ready(function(){
	Pui.regist('jquery.plug.switchtab',{
		jsFullPath:'/js/plug/jquery-plug-switchtab.js',
		requires:'resource'
	});
	
	Pui.use('jquery.plug.switchtab,Pui.tip,Pui.util.Menu',function(Pui){
		$('#mo_adv').switchTab({
			size:{
				height:240
			}
		}).show();
		
		var m=new Pui.util.Menu({
			renderTo:'m_mui',
			text:'MUI',
			href:'mui.html',
			cls:{
				hover:'mo-menu-hover',
				item:'mo-menu-item',
				items:'mo-menu-items',
				itemHover:'mo-menu-itemhover'
			},
			items:[{
				text:'MUI API',
				href:'/mui/docs/',
				target:'_blank'
			},{
				text:'MUI Samples',
				href:'/mui/samples/',
				target:'_blank'
			},{
				text:'Download MUI',
				href:'/mui/download/',
				target:'_blank'
			}]
		});
	});
});